package com.one.efaimaly.main.model.item;

import com.one.common.view.multitytype.adapter.BaseItem;
import com.one.common.model.bean.BannerBean;

import java.util.ArrayList;
import java.util.List;

/**
 * author ：zhulunjun
 * email  ：zhulunjun@qq.com
 * date   ：2018/8/5 下午7:21
 * description ：
 **/
public class BannerItem extends BaseItem{


    private ArrayList<BannerBean> banners;

    public BannerItem(ArrayList<BannerBean> banners) {
        this.banners = banners;
    }

    public ArrayList<BannerBean> getBanners() {

        return banners;
    }

    public void setBanners(ArrayList<BannerBean> banners) {
        this.banners = banners;
    }

    private List<String> getData(){
        List<String> urls = new ArrayList<>();
        urls.add("https://ww1.sinaimg.cn/large/0065oQSqgy1ftwcw4f4a5j30sg10j1g9.jpg");
        urls.add("https://ww1.sinaimg.cn/large/0065oQSqgy1ftwcw4f4a5j30sg10j1g9.jpg");
        urls.add("https://ww1.sinaimg.cn/large/0065oQSqgy1ftwcw4f4a5j30sg10j1g9.jpg");
        return urls;
    }
}
